package com.zwy.ubts.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author zwy
 * @Description:
 * @Date Created in 13:56 2022/12/23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer userId;
    private String userName;
    private String userNickname;
    private String userPass;
    private Integer userRole;
    private String userEmail;
    private float userMoney;
    private String userImg;
    private String userCreateTime;

    public User(Integer userId) {
        this.userId = userId;
    }

    public User(String userName, String userPass) {
        this.userName = userName;
        this.userPass = userPass;
    }

    public User(String userName, String userNickname, String userPass, String userEmail, String userImg) {
        this.userName = userName;
        this.userNickname = userNickname;
        this.userPass = userPass;
        this.userEmail = userEmail;
        this.userImg = userImg;
    }

}
